package cn.xxmi.mybatis.model;

import org.junit.Before;

public class Country {
    private Integer id;
    private String countryName;
    private String countryCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    @Override
    public String toString() {
        return "Country{" +
                "id=" + id +
                ", countryName='" + countryName + '\'' +
                ", countryCode='" + countryCode + '\'' +
                '}';
    }

    public static void main(String[] args) {
        String arr[] = new String[]{"a","b","c","d"};
        int len = arr.length-1;
        for(int i=0;i<len;i++){
            for(int j=i+1;j<len+1;j++){
                System.out.println(arr[i]+""+arr[j]);
            }
        }
    }



}
